package com.jijuxie.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("house_view_log")
public class HouseViewLog {

    @TableId(type = IdType.AUTO)
    private Long viewId;

    /**
     * 房源ID
     */
    private Long houseId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 浏览时间
     */
    private LocalDateTime viewTime;
}
